package com.jxd.petMgr.model;

/**
 * @author lzh
 * @version 1.0
 * @Description
 * @date 2021/11/3
 */


public class Account {
    private Integer id;//账单id
    private Integer deal_type;//交易类型，1主人买，2主人卖给商店
    private Integer pet_id;//宠物id
    private Integer seller_id;//卖家id
    private Integer buyer_id;//买家id
    private Double price;//交易价格
    private String deal_time;//交易时间

    public Account() {
    }

    public Account(Integer id, Integer deal_type, Integer pet_id,
                   Integer seller_id, Integer buyer_id, Double price, String deal_time) {
        this.id = id;
        this.deal_type = deal_type;
        this.pet_id = pet_id;
        this.seller_id = seller_id;
        this.buyer_id = buyer_id;
        this.price = price;
        this.deal_time = deal_time;
    }

    public Account(Integer deal_type, Integer pet_id, Integer seller_id, Integer buyer_id, Double price) {
        this.deal_type = deal_type;
        this.pet_id = pet_id;
        this.seller_id = seller_id;
        this.buyer_id = buyer_id;
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeal_type() {
        return deal_type;
    }

    public void setDeal_type(Integer deal_type) {
        this.deal_type = deal_type;
    }

    public Integer getPet_id() {
        return pet_id;
    }

    public void setPet_id(Integer pet_id) {
        this.pet_id = pet_id;
    }

    public Integer getSeller_id() {
        return seller_id;
    }

    public void setSeller_id(Integer seller_id) {
        this.seller_id = seller_id;
    }

    public Integer getBuyer_id() {
        return buyer_id;
    }

    public void setBuyer_id(Integer buyer_id) {
        this.buyer_id = buyer_id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getDeal_time() {
        return deal_time;
    }

    public void setDeal_time(String deal_price) {
        this.deal_time = deal_price;
    }
}
